View Issue Details

IDProjectCategoryView StatusLast Update
0001730K18X001.00 SKB SWANSWpublic2023-06-13 08:54
Reporter(ALTech) Sangmin Choi Assigned To(ALTech) Sangmin Choi Due Date2023-06-07 18:00
PriorityhighSeveritys4-minorReproducibilityalways
Status closedResolutionfixed 
Summary0001730: When I play the music through Smartphone, there is a very loud noise at moment and then the music is played through Speaker.
DescriptionPrecondition
 #1 : audio output is set as "External Device(외부기기)"
 #2 : press the front BT button and connect with Smartphone

Test step
 #1 : change any channel and play live stream
 #2 : play the music from Smartphone
 #3 : you can hear the very loud noise at moment and the music is played through Speaker

It's easy to reproduce, if you can't reproduce this issue, please let me know.

Thank you.
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (SW) Sam Yang

Activities

(ALTech) Sangmin Choi

2023-06-01 16:52

developer   ~0013280

Hello, Jacky,

Could you please assign an engineer for this issue?

Thank you.
Sangmin Choi.

(SW) Sam Yang

2023-06-06 19:09

developer   ~0013292

Hi Sangmin,

We fix the issue. Please verify it with the test FW: /release_by_fxn/swan_test_image/20230606_mantis1730/usb_bfx-ua300_V19.536.29_SD.zip

Thanks~
Sam

(ALTech) Sangmin Choi

2023-06-07 09:52

developer   ~0013299

Hello, Sam,

Thank you, this issue was not reproduced with your test firmware.
Could you please explain the modification or share the diff file?
I want to check there is any side effect or not.

Thank you.
Sangmin Choi.

(SW) Sam Yang

2023-06-07 11:04

developer   ~0013302

Hi Sangmin,

After several tests, I think the root cause is:
When changing audio routing, we will notify "btvservice" to stop sending audio data and mute then unmute BT sink. And if we unmute BT sink too soon, the audio buffer will be bothered by remained BTV audio data.
So I add a delay after notifying "btvservice" to stop for waiting the audio buffer cleared. And because we don't know how long "btvservice" will take, I test for many times and find that 100ms delay will be fine. So finally, my fix is: add a delay(100ms) after notifying "btvservice" to stop.

Thanks~
Sam

(ALTech) Sangmin Choi

2023-06-07 13:54

developer   ~0013304

Hello, Sam,

Ok, please push your commit.

Thank you.

(SW) Sam Yang

2023-06-07 14:51

developer   ~0013305

Hi Sangmin,
Done, commit: 2023-06-06 17:25:27 | sam.cy.yang@mail.f.. | cb1ebc3 | vendor/synaptics/vsxxx | (mantis1730) fix the noise from BTV to BT sink
Thanks~
 Sam

Issue History

Date Modified Username Field Change
2023-06-01 16:52 (ALTech) Sangmin Choi New Issue
2023-06-01 16:52 (ALTech) Sangmin Choi Status new => assigned
2023-06-01 16:52 (ALTech) Sangmin Choi Assigned To => (SW) Jacky Chiang
2023-06-01 16:52 (ALTech) Sangmin Choi Note Added: 0013280
2023-06-01 19:02 (SW) Jacky Chiang Assigned To (SW) Jacky Chiang => (SW) Jason Ling
2023-06-02 11:16 (SW) Sam Yang Issue Monitored: (SW) Sam Yang
2023-06-02 11:16 (SW) Sam Yang Assigned To (SW) Jason Ling => (SW) Sam Yang
2023-06-06 19:09 (SW) Sam Yang Note Added: 0013292
2023-06-06 19:10 (SW) Sam Yang Assigned To (SW) Sam Yang => (ALTech) Sangmin Choi
2023-06-07 09:52 (ALTech) Sangmin Choi Note Added: 0013299
2023-06-07 11:04 (SW) Sam Yang Note Added: 0013302
2023-06-07 13:54 (ALTech) Sangmin Choi Note Added: 0013304
2023-06-07 14:51 (SW) Sam Yang Note Added: 0013305
2023-06-13 08:54 (ALTech) Sangmin Choi Status assigned => closed
2023-06-13 08:54 (ALTech) Sangmin Choi Resolution open => fixed